home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
rtextu10.zip
/
TAIL.DOC
< prev
next >
Wrap
Text File
|
1993-05-06
|
3KB
|
78 lines
#######
# ## # #
# # # # #
# # # # #
# ###### # #
# # # # #
# # # # ######
You can get part of the following documentation by invoking the program with
the switches -v, -h, or -H . See README.TXT for more information.
----------------------------------- -v ------------------------------------
TAIL v1.0 -- Show the last lines of text files
Copr (c) 1992,1993 Richard Breuer. TAIL is freeware. No warranties.
This is TAIL/2 v1.0 - renamed to TAIL (from RUTILS 4).
Author: Richard Breuer
Brunssumstrasse 6
5100 Aachen
(after Jul 1, 1993: 52074 Aachen)
Germany
Europe
Phone: +49/241/85605
Fax: +49/241/8021329
Email: ricki@pool.informatik.rwth-aachen.de (Preferred!)
----------------------------------- -h ------------------------------------
TAIL v1.0 -- Show the last lines of text files
Copr (c) 1992,1993 Richard Breuer. TAIL is freeware. No warranties.
Usage:
TAIL [-hHqv*] [-<n>] infile.. [{>|>>} outfile]
Options:
-<n> Display the last n lines. n must be non-negative. Default is n=10
-h Display this help screen
-H Display another help screen
-q Supress the output of ==> filename <==, if multiple files are
processed
-v Display version info
-* Display internal information (for debugging purposes)
----------------------------------- -H ------------------------------------
TAIL v1.0 -- Show the last lines of text files
Copr (c) 1992,1993 Richard Breuer. TAIL is freeware. No warranties.
Notes:
TAIL reads from stdin if a filename is -. The output is always directed
to stdout. The errorlevel is set to 1 if help has been displayed. It is set
to 255 in case of an error and 0 on normal completion. Output resulting from
multiple input files is appended to stdout. The processing order for
wildcards depends on the order of the directory entries. TAIL outputs
nonsense for binary files.
Examples:
TAIL *.TXT
Process all *.TXT files in the current directory and append them to
stdout. The order is the one DOS's dir tells you.
DIR | TAIL -4
Display the last 4 lines of the directory.
TAIL HEADER.TXT - FOOTER.TXT
After processing HEADER.TXT the user must input text from the keyboard
until Ctrl/Z (=EOF) is detected. Then FOOTER.TXT is processed. All output
is appended on stdout.
-------------------------------------------------------------------------------
Additional information:
TAIL is a re-implementation of the Unix command with the same name. The main
differences are, that unix tail has some other switches.